import './assets/main.css'

import { createApp } from 'vue'
import { createPinia } from 'pinia'

import App from './App.vue'
import router from './router'


// 引入你需要的组件
import { Button , Calendar ,Icon,Swipe, SwipeItem,Tab, Tabs,Form, Field, CellGroup,Dialog,NavBar,BackTop,Search,RadioGroup, Radio  } from 'vant'
// 引入组件样式
import 'vant/lib/index.css'



// 做适配
import 'amfe-flexible'

const app = createApp(App)

app.use(createPinia())

app.use(router)

// 注册你需要的组件
app.use(Button)
app.use(Calendar)
app.use(Icon)
app.use(Swipe);
app.use(SwipeItem);
app.use(Tab);
app.use(Tabs);
app.use(Form);
app.use(Field);
app.use(CellGroup);
app.use(Dialog);
app.use(NavBar);
app.use(BackTop);
app.use(Search);
app.use(Radio);
app.use(RadioGroup);

app.mount('#app')





